﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Data;
using System.ComponentModel;


namespace ProjectCodeS.Models
{
    public partial class Ticket
    {
        public int Id { get; set; }
        [Required]
        public string Name { get; set; }

        public double TicketBalance { get; set; }

        public int ClientId { get; set; }
        public virtual Client Client { get; set; }

        public virtual ICollection<TicketItem> TicketItems { get; set; }
        public Ticket()
        {
            TicketItems = new List<TicketItem>();
        }
    }
}